package enumDemo;

public class enumDemo {
    private enumDemoStatus status;

    public enumDemoStatus getStatus() {
        return status;
    }

    public void setStatus(enumDemoStatus status) {
        this.status = status;
    }

    public enum enumDemoStatus{
        ORDERED,
        READY,
        DELIVERED;
    }
    public boolean isDeliverable() {
        if (getStatus() == enumDemoStatus.READY) {
            return true;
        }
        return false;
    }

}
